package edu.sctu.practice.class02.liqing.test08;

/**
 * Created by 123456 on 2015/10/10.
 */
public class Vehicles {
    String brand;
    String color;

    public Vehicles(String brand, String color) {
        this.brand = brand;
        this.color = color;
    }

    public void run() {
        System.out.println("我已经开动了");
    }

    public void showInfo() {
        System.out.println("商标为: " + brand + "  " + "颜色为：" + color);
    }
}


